<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script language="javascript" type="text/javascript" src="/card/common/common.js"></script>
<script type="text/javascript" language="javascript"
	src="/card/common/levelone.js"></script>
<script type="text/javascript" language="javascript"
	src="leveltwo.js"></script>	
<script type="text/javascript" language="javascript"
	src="/card/common/level_init.js"></script>
 <title>石家庄一卡通有限公司</title>
<link href="/card/images/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
//选择不同的页数
function selectPage(){
	document.getElementById("page.pageNo").value = document.getElementById("selectPageNo").value;
	var form = document.getElementById("listform");
	form.action = "${cardPath}/viewMore_News.action";
	form.submit();	
}
//改变不同的页数
function changePage(pageNo){
	document.getElementById("page.pageNo").value = pageNo;
	var form = document.getElementById("listform");
	form.action = "${cardPath}/viewMore_News.action";
	form.submit();	
}
</script>
</head>

<body>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="/card/images/index_02.jpg" width="945" height="93" /></td>
  </tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><img src="/card/images/index_04.jpg" width="945" height="5" /></td>
  </tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="21"><img src="/card/images/index_06.jpg" width="21" height="32" /></td>
    <td width="903" background="/card/images/index_08.jpg"><div align="center">
    		<script type="text/javascript" language="javascript">
				initLevelOne();
			</script>
    </div></td>
    <td width="21"><img src="/card/images/index_07.jpg" width="21" height="32" /></td>
  </tr>
</table>
<table width="945" height="15" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
		<script type="text/javascript"> 
	 var pic_width=945
 var pic_height=198
 var text_height=0  
 var swfpath = '/card/images/focus.swf' 
 var swf_height = pic_height+text_height 
 var pics='/card/images/q1.jpg|/card/images/q2.jpg|/card/images/q3.jpg|/card/images/q4.jpg'
 var links='#|#|#|#'
 var texts='||'
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ pic_width +'" height="'+ swf_height +'">');document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="'+swfpath+'"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');document.write('<param name="menu" value="false"><param name=wmode value="opaque">');document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+pic_width+'&borderheight='+pic_height+'&textheight='+text_height+'">');document.write('<embed src="'+swfpath+'" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+pic_width+'&borderheight='+pic_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ pic_width +'" height="'+ pic_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>'); 
//打开单条新闻
 function openN(Id){
 	window.open("viewCon_News.action?id="+Id,"blank");
 }
 </script>
		
		</td>
  </tr>
</table>
<table width="945" height="15" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>


    <td>&nbsp;</td>
    <!-- 新闻列表 -->
    <div align="center">
    <td width="945" valign="top">
    <table width="945" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="179" background="/card/images/index_26.jpg"><div align="center" class="baid">公司新闻</div></td>
          <td background="/card/images/index_29.jpg">&nbsp;</td>
          <td background="/card/images/index_29.jpg">&nbsp;</td>
          
        </tr>     
    </table>
      <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
      	  <tr>
      	  	<th class="hei">&nbsp;</th>
      	  	<th class="hei" style="text-align:left">新闻标题</th>
      	  	<th class="hei">新闻时间</th>
      	  </tr>
          <c:forEach items="${page.data}" var="news">
          <tr>
            <td class="hei" >
              <input type="hidden"  class="STYLE2" value="${news.newsid}" />
            </td>
            <td class="hei" align="left"><div  class="STYLE2 STYLE1" style="cursor:hand" onclick="openN(${news.newsid})">${news.newstitle}</div></td>
            <td class="hei" align="center"><div align="center" >${news.newsdate}</div></td>
          </tr>
          </c:forEach>
         <c:if test="${page.recordCount<1}">
           <tr>
            <td class="hei" >
                   	暂时还没有新闻
            </td>
         </c:if>
      </table>

<table width="60%" border=0>
<tr>
<td class="hei" align="left" >
共${page.recordCount}条纪录，当前第${page.pageNo}/共${page.totalPages}页，每页${pager.pageSize}条纪录
</td>

<form action="" method="post" name="listForm">
<td class="hei" align="left" >
 <c:if test="${page.pageNo > 1}">
    <a href="javascript:changePage(1)"><img src="${backPath}/images/list/first1.gif" width="39" height="17"/></a>
 	<a href="javascript:changePage(${page.pageNo-1})"><img src="${backPath}/images/list/back1.gif" width="45" height="17" /></a>
 </c:if>
 <c:if test="${page.pageNo < page.totalPages}">
  	<a href="javascript:changePage(${page.pageNo+1})"><img src="${backPath}/images/list/next1.gif" width="45" height="17" /></a>
    <a href="javascript:changePage(${page.totalPages})"><img src="${backPath}/images/list/last1.gif" width="39" height="17" /></a>                  
 </c:if>
 选择第
 <select id="selectPageNo" onchange="selectPage()">
                  		<c:forEach begin="1" end="${page.totalPages}" varStatus="status">
                  			<option value="${status.index}"
                  			    <c:if test="${page.pageNo == (status.index)}">selected</c:if>
                  				>${status.index}</option>
                  		</c:forEach>	
 </select>页                   
 
</td>
<input type="hidden" value="${page.pageNo}" name="page.pageNo"/>
</form>
</td>
</tr>
</table>
</div>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="945" height="69" border="0" align="center" cellpadding="0" cellspacing="0" class="bk">
  <tr>
    <td width="25"><img src="/card/images/yq_35.jpg" width="25" height="30" /></td>
    <td width="895" background="/card/images/yq_07.jpg" class="heic">友情链接</td>
    <td width="25"><img src="/card/images/yq_36.jpg" width="25" height="30" /></td>
  </tr>
  <tr>
    <td height="37">&nbsp;</td>
    <td ><jsp:include page="foot.jsp"></jsp:include></td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="108" height="105"><div align="center"><img src="images/logo.jpg" width="52" height="64" /></div></td>
    <td width="837"><div align="center" class="di">石家庄一卡通卡有限公司 （2009-2010）版权所有  技术支持:网讯科技 冀ICP备05035382号 <br />
      电话：86－0311－88611099   传真：86－0311－88611099  邮箱:ncckefu@163.com<br />
    地址:石家庄市中山西路83号东方大厦1418室</div></td>
  </tr>
</table>
</body>
</html>
